<!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">-->
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ page contentType="text/html;charset=utf-8"%>

<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >
<%
	response.setHeader("Cache-Control", "no-cache"); //HTTP 1.1
	response.setHeader("Pragma", "no-cache"); //HTTP 1.0
	response.setDateHeader("Expires", 0); //prevents caching at the proxy server
%>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Expires" content="Tue, 01 Jan 1980 1:00:00 GMT">
<meta http-equiv="Pragma" content="no-cache">
<title>SISTEMA UNICO DE BENEFICIOS</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link
	href="<%=request.getContextPath() + "/css/consultsoft_css.css"%>"
	rel="stylesheet" type="text/css">
<link href="<%=request.getContextPath() + "/css/bloques.css"%>"
	rel="stylesheet" type="text/css">
<!--<link href="<%=request.getContextPath() + "/css/table.css"%>" rel="stylesheet" type="text/css">-->
<link href="<%=request.getContextPath() + "/css/menu.css"%>"
	rel="stylesheet" type="text/css">
<style type="text/css"></style>
<script type="text/javascript"
		src="<%=request.getContextPath()%>/js/wz_tooltip.js"></script>

<script type="text/JavaScript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>

<body onLoad="MM_preloadImages('images/btn_cerrar_over.png')">
	<table
		style="width: 100%; height: 100%; border: 0; padding: 0; border-spacing: 0;">
		<tr>
			<td style="vertical-align: top">
				<table
					style="width: 100%; border: 0; padding: 0; border-spacing: 0;">
					<tr>
						<td width="400" height="100"
							background="<%=request.getContextPath()
							+ "/images/header_bg_1_nuevo.png"%>">
							<P></P>
						</td>
						<td background="<%=request.getContextPath() + "/images/header_bg_2.png"%>">
							<div align="right">								
								<object width="400" height="80">
									<param name="movie"
										value="<%=request.getContextPath() + "/images/baner.png"%>" />
									<embed src="<%=request.getContextPath() + "/images/baner.png"%>"
										width="400" height="80" />
									
								</object>
							</div>
						</td>
						
					</tr>
				</table>

				<table style="width: 100%; border: 0; padding: 0; border-spacing: 0;">
					<tr>
						<td width="400" height="40" class="info_bar"
							background="<%=request.getContextPath() + "/images/bar_bg_2.png"%>">Usuario
							Activo: <bean:write name="userInfo" property="name" /> | Perfil:
							<bean:write name="userInfo" property="userGroupName" />
						</td>
						<td
							background="<%=request.getContextPath() + "/images/bar_bg_2.png"%>">&nbsp;</td>
						<td width="135"><a
							href="<%=request.getContextPath() + "/logout.do"%>"
							onMouseOut="MM_swapImgRestore()"
							onMouseOver="MM_swapImage('cerrar','','<%=request.getContextPath() + "/images/btn_cerrar_over.png"%>',1)">
								<img
								src="<%=request.getContextPath() + "/images/btn_cerrar.png"%>"
								alt="cerrar" name="cerrar" width="135" height="40" border="0">
						</a></td>
					</tr>
				</table>
				<div align="center">
					<table
						style="width: 100%; margin-top: 10px; border: 0; padding: 0; border-spacing: 0;">
						<tr>
							<td style="vertical-align: top">
								<table
									style="width: 100%; border: 0; padding: 0; border-spacing: 0;">
									<tr>
										<td width="195" style="vertical-align: top">											
											<table
												style="width: 100%; border: 0; padding: 0; border-spacing: 0;">
												<tr>
													<td align="center">
														<P>&nbsp;</P>
													</td>
												</tr>
												<tr>
													<td>
														<img src="<%=request.getContextPath() + "/images/menu.gif"%>"
															alt="Menu principal" width="190" height="21" />
													</td>
												</tr>
												<tr>
													<td><tiles:insert name="menu" /></td>
												</tr>
											</table>
											<p></p>
										</td>
										<td style="vertical-align: top; padding: 0px 10px 10px 10px;">											
											<tiles:insert name="body" />
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>
			</td>
		</tr>
	</table>

	<table style="width: 100%; border: 0; padding: 0; border-spacing: 0;">
		<tr>
			<td height="143" width="600"
				background="<%=request.getContextPath() + "/images/footerNew_nuevo.png"%>">
				<div align="right">
					<table class="tablaGenericaWidth60">
						<tr>
							<td colspan="2" height="85">&nbsp;</td>
						</tr>
						<tr>
							<td class="footer" colspan="2">
								<DIV align="right">
									<P align="right">TODOS LOS DERECHOS RESERVADOS &copy; 2012
										|| CONSULT SOFT S.A.</P>
								</DIV>
							</td>
							<!-- <td>
								Begin Motigo Webstats counter code
								<a id="mws4949808" href="http://webstats.motigo.com/">
								<img width="80" height="15" border="0" alt="Free counter and web stats" src="http://m1.webstats.motigo.com/n80x15.gif?id=AEuHMAzn33bJ9XCNJH8KSqXWwf0A" /></a>
								<script src="http://m1.webstats.motigo.com/c.js?id=4949808&amp;lang=ES&amp;i=3" type="text/javascript"></script>
								End Motigo Webstats counter code								
							</td> -->
						</tr>
					</table>
				</div>
			</td>
			<td
				background="<%=request.getContextPath() + "/images/footerNew1.png"%>">&nbsp;</td>
		</tr>
	</table>
</body>
</html>
